package cn.itsource.pethome.service;

import cn.itsource.pethome.domain.Department;
import cn.itsource.pethome.domain.DepartmentDTO;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface DepartmentService {
    List<Department> findAll();

    public List<Department> getDeptTree();

    List<Department> getTree();

    PageInfo<Department> findPage(DepartmentDTO dto);

    void insert(Department department);

}
